home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 10
/
AACD 10.iso
/
AACD
/
Magazine
/
Online
/
OpenURL
/
Developer
/
Source
/
debug.h
next >
Wrap
C/C++ Source or Header
|
1999-09-26
|
428b
|
22 lines
/* Debuggin defines used by SmartReadArgs */
#ifdef __GNUC__
/* Debug output goes to stdout for GCC as debug.lib doesn't seem to be
* included in Geek Gadgets' distribution */
#include <clib/alib_stdio_protos.h>
#define bug printf
#else
/* Debug output goes to serial port/sushi debug console */
#define bug kprintf
extern void kprintf(char *fmt,...);
#endif
#ifdef DEBUG_CODE
#define D(x) x
#else
#define D(x)
#endif